frontend

CodeIgniter and HMVC questions

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-03 07:14:12
First of all, sorry for any convenience caused by this post because this is the first time I post a question here and I need more time to get used to with this. Q1. I want to create 2 "master controllers" for FrontEnd and BackEnd like this: MY_Controller extends CI_Controller FrontEnd extends MY_Controller and all frontend controllers will extend FrontEnd . BackEnd extends MY_Controller and all backend controllers will extend BackEnd . What's the best way to do that with HMVC (MX)? Thanks @Wesley Murch for giving the idea to put 3 classes MY_Controller, Frontend, Backend into MY_Controller.php

Website fully written ( or displayed ) in Flash. When this is NOT a good idea?

℡╲_俬逩灬. 提交于 2019-12-03 07:13:45
From this tweet: http://twitter.com/azaaza/status/6508524118 I reach a website which is made completely in Flash (at least the front end). alt text http://img704.imageshack.us/img704/3116/screenshotvz.png It looks fantastic and it could have been written with HTML + Ajax, but I guess ( because I don't know much flash my self ) they site owners felt more comfortable with Flash and thought it would be easier ( once again, I guess this happens when you have thousands of flight hours with flash ) Judging by the status bar, it seems that most of the images and text are downloaded dynamically (

front end development workflow with angularjs and gruntjs

ぃ、小莉子 提交于 2019-12-03 06:13:04
I wanted to know how the front end development workflow is organized when we use HTML 5 and angularjs. We use a Jetty java back end (Cannot be changed), and we want to expose restful services which the angularjs can consume. With angularjs it so happens that the main page needs to include many js files, most of which are application specific, we intend to split the application logically in js files. So how would you recommend having the front end development workflow ?, in order to avoid handling so many different js files a colleague has suggested the use of minification of js files using

How can i send emails without a server ? Only front-end Javascript with sendgrid or

非 Y 不嫁゛ 提交于 2019-12-03 05:58:57
i was wondering lately how i could send emails with only a front-end language like Javascript through Email as a Service apps like sendgrid or mandrill or so. Sendgrid and mandrill have Curl APIS, so basically i can just do an AJAX post request to their API to send a mail but the thing is, i will have to put my API secret key in the JS file, this means it will be public... while it's supposed to be secret. On those two apps, there's nothing in the docs concerning front-end use except having your own server which will use the API, but i'm currently on front-end based project. No server

How do I use “custom filter” prop in data tables in vuetify? or How do I create a custom filter to filter by headers?

不羁岁月 提交于 2019-12-03 05:49:36
问题 As of date of posting, I cannot find any documentation to use the "custom filter" prop in data tables. I just want to create a custom filter to filter my data table by headers. I have a dropdown, and when user click on one of the options for the dropdown, it will filter the list for one specific header. Example: Dropdown options: Food type: fruit, meat, vegetable Bakchoi (vegetable) Pork (meat) Chicken Thigh (meat) watermelon (fruit) If I select dropdown as meat, it should only show me pork

Is there a way to include partial using html-webpack-plugin?

怎甘沉沦 提交于 2019-12-03 05:40:00
问题 I am using Webpack to compile my scripts and HTML (using html-webpack-plugin ). The thing is, I have 5 HTML files that contains the same parts and I want to move these parts to separate .html files and then include these parts in every HTML file. This way, if I will change these smaller HTML files, it will recompile every HTML file to represent these changes. Webpack does this for .js files by default, but can I use something like that for HTML files? 回答1: You can use <%= require('html!.

Best way to capture JavaScript errors in production? [closed]

落花浮王杯 提交于 2019-12-03 04:17:20
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I've got a serious JavaScript problem that is hard to reproduce in any of our dev/test/prod environments. Nonetheless, it is being reported consistently by our customers. Sometimes we think it's browser specific -- sometimes we think it's action specific -- sometimes we think it's cookie related. It's a tough

How to include '.jar' files in the React-native for Android?

烈酒焚心 提交于 2019-12-03 03:58:12
My English is poor. I'm a FRONT-END developer. Now we need an App can use Bluetooth Printer, coding with React-Native for Android. The Printer's manufacturer provided a SDK file,extension is 'jar'. Please tell me how to use this SDK in the React-Native? then how to import in the JSX files? Adding *.jar to the Project is done by using build.gradle file: If you want to add a jar file to the project, Facebook had already done on your behalf! Just add a libs folder into the android/app directory of the project with your jar file and enjoy! If you want to add a jar file to a native-module then add

What is the definition / difference of “backend” and a “frontend” in a software development / project? [closed]

半世苍凉 提交于 2019-12-03 03:24:17
Closed . This question needs details or clarity. It is not currently accepting answers. Learn more . Want to improve this question? Add details and clarify the problem by editing this post . How a newbie differentiate between this? How one can know he/she is working is back-end system or front-end system? "Front-end" typically means the parts of the project a user interacts with--such as the graphical user interface or command line. It's a vague term, there isn't an exact definition. "Back-end" means the parts that do the work, but the user is unaware of or cannot see. Databases, services, etc

Webpack with requirejs/AMD

佐手、 提交于 2019-12-03 03:06:06
I'm working on a new module for an existing project that still uses requireJS for module loading. I'm trying to use new technologies for my new module like webpack (which allows me to use es6 loaders using es6 imports). It seems like webpack can't reconcile with requireJS syntax. It will say things like: "Module not found: Error: Can't resolve in ". Problem : Webpack won't bundle files with requireJS/AMD syntax in them. Question : Is there any way to make webpack play nice with requireJS? My final output must be in AMD format in order for the project to properly load it. Thanks. I had the same