简体   繁体   English

使用codeigniter和jquery创建事件/日程安排日历

[英]Create an event / scheduling calendar with codeigniter and jquery

I'm trying to make an event / scheduling calendar using codeigniter and jquery. 我正在尝试使用codeigniter和jquery制作事件/日程安排日历。 I need to be able to have multiple events on the same day, and I would like to make it as clean as possible. 我需要能够在同一天举办多个活动,我希望尽可能让它变得干净。

I'm wondering if anyone knows of any good tutorials out there. 我想知道是否有人知道任何好的教程。 All the ones I found don't let you add multiple events to 1 day, or have a really weird structure. 我发现的所有内容都不允许你在1天内添加多个事件,或者有一个非常奇怪的结构。

Thanks for the help! 谢谢您的帮助!

Edit: Sorry about that, here are the ones I've found http://net.tutsplus.com/tutorials/php/codeigniter-from-scratch-file-uploading-and-image-manipulation/ (fairly basic and doesn't allow for multiple events on the same day) 编辑:对不起,这里是我发现的那些http://net.tutsplus.com/tutorials/php/codeigniter-from-scratch-file-uploading-and-image-manipulation/ (相当基本的并且没有' t允许同一天的多个事件)

http://www.okadadesign.no/blog/codeigniter/create-an-event-calendar-using-codeigniter-and-jquery/ Not sure how I feel about this one, or if it is easy to implement. http://www.okadadesign.no/blog/codeigniter/create-an-event-calendar-using-codeigniter-and-jquery/不确定我对这个感觉如何,或者它是否易于实现。

Not sure how you "can't" do it, you can modify any code and add extra events. 不确定你怎么做“不能”,你可以修改任何代码并添加额外的事件。 Are you saying the apps you found are too complex for you to utilize? 您是说您找到的应用程序太复杂而无法使用? I would suggest going through the code and fiddling with them to find out. 我建议仔细阅读代码并摆弄它们以找出答案。 Then posting questions when you need explanation. 然后在需要解释时发布问题。 That would be more useful, right now I am left wondering what a 'really weird structure' is... 那会更有用,现在我想知道什么是“真正奇怪的结构” ......

As for your own example: 至于你自己的例子:

It works and adds multiple events (I just added 2 for March 9th in the demo). 它可以工作并添加多个事件(我在3月9日的演示中添加了2个)。

CodeIgniter allows for straight forward MVC (model view controller) structure (read the CodeIgniter userguide if you get stuck or confused). CodeIgniter允许直接MVC(模型视图控制器)结构(如果您遇到困难或混淆,请阅读CodeIgniter用户指南)。

Short of finding a very basic program I don't think you will find one that suits your need/learning curve (which is what I suspect the phrase "really weird structure" pertains to). 如果没有找到一个非常基本的程序,我认为你不会找到一个适合你的需求/学习曲线(这是我怀疑“非常奇怪的结构”这个短语)。

I would suggest simply trying the CodeIgniter flavour and tinkering with it until you get what you need, or you find that it truly does NOT meet your need. 我建议只是尝试CodeIgniter的味道并修补它,直到你得到你需要的东西,或者你发现它确实不能满足你的需要。

Best case scenario you learn a bit more about programming through others code. 最佳案例场景,您将学习更多关于通过其他代码编程的知识。 Enjoy. 请享用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM